package net.html;

import java.io.Writer;

import javax.swing.text.html.HTMLEditorKit;

public class TagStripper extends HTMLEditorKit.ParserCallback
{
	private Writer out;
	public TagStripper(Writer out)
	{
		this.out = out;
	}	
	@Override
	public void handleText(char[] data, int pos)
	{
		try
		{
			out.write(data);
		}
		catch (Exception e)
		{
		}
	}
}
